home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK1.toast / Development Kits (Disc 1) / ColorSync SDK / Sample Code / CSDemo 2.1 / CSDemoSources / pictUtils.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-06-13  |  890 b   |  36 lines  |  [TEXT/CWIE]

  1.  
  2. #ifndef _PICTUTILS_
  3. #define _PICTUTILS_
  4.  
  5.  
  6. #ifndef __TYPES__
  7. #include <Types.h>
  8. #endif
  9.  
  10. #ifndef __FILES__
  11. #include <Files.h>
  12. #endif
  13.  
  14. #ifndef __QUICKDRAW__
  15. #include <QuickDraw.h>
  16. #endif
  17.  
  18. #ifndef __QDOFFSCREEN__
  19. #include <QDOffscreen.h>
  20. #endif
  21.  
  22.  
  23. /**\
  24. |**| ==============================================================================
  25. |**| PUBLIC FUNCTION PROTOTYPES
  26. |**| ==============================================================================
  27. \**/
  28. OSErr        DoReadPICT                        ( FSSpec spec, PicHandle *pict ) ;
  29. OSErr        DoWritePICT                        ( FSSpec spec, PicHandle pict, OSType creator ) ;
  30. QDErr        NewSmallGWorld                    ( GWorldPtr *offscreen ) ;
  31. QDErr        NewGWorldClear                    ( GWorldPtr *offscreen, short depth, const Rect *rect,
  32.                                               CTabHandle cTable, GDHandle aGDevice, GWorldFlags flags ) ;
  33. OSErr        DrawPicHandleUsingBottlenecks    ( PicHandle pict, CQDProcs procs, CGrafPtr port ) ;
  34.  
  35.  
  36. #endif